package com.fram.mapper;

import java.util.List;

import com.fram.bean.admin.message.response.MessageDataResponse;
import com.fram.bean.api.message.request.MessageSearchRequest;
import com.fram.bean.api.message.response.MessageSearchResponse;
import com.fram.entity.MessageData;

public interface MessageDataMapper {

	int deleteByPrimaryKey(Long id);

	int insert(MessageData record);

	int insertSelective(MessageData record);

	MessageData selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(MessageData record);

	int updateByPrimaryKey(MessageData record);

	/** 查询我的消息 **/
	List<MessageSearchResponse> selectMyMessage(MessageSearchRequest request);
	
	/**后台 展示**/
	List<MessageDataResponse> selectAll(MessageData request);
}